#include <iostream>
using namespace std;
class rectangle{
//你的代码将被嵌在这里
private:
    int l,d;
public:
    rectangle(int a,int b)
    {
        l=a;
        d=b;
    }
    int area()
    {
        int s=l*d;
        return s;
    }
};
int main()
{
    rectangle r(3,4);
    cout<<r.area();
    return 0;
}

